
// 引入axios | 路径配置
import { AJAX_PATH } from "@/services/config.js";

// 导入 封装的 有权限请求
import { HTTP_LIMITED } from "@/utils/axios.js";

class ChengTaoJianHttp extends HTTP_LIMITED {

    GetPackageList(data) {// 获取成套件-列表
        return this._get(AJAX_PATH.GetPackageList + data);
    }
    addPackageInfo(data) { // 成套件-新增
        return this._post(AJAX_PATH.addPackageInfo, data);
    }
    deletePackageInfo(data) {//成套件-删除
        return this._get(AJAX_PATH.deletePackageInfo + data);
    }
    updatePackageInfo(data) {//成套件-修改
        return this._post(AJAX_PATH.updatePackageInfo, data);
    }
}

export { ChengTaoJianHttp };